home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / inline / battclock.h < prev    next >
C/C++ Source or Header  |  1997-04-14  |  613b  |  27 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_BATTCLOCK_H
  4. #define _INLINE_BATTCLOCK_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef BATTCLOCK_BASE_NAME
  11. #define BATTCLOCK_BASE_NAME BattClockBase
  12. #endif /* !BATTCLOCK_BASE_NAME */
  13.  
  14. #define ReadBattClock() \
  15.     LP0(0xc, ULONG, ReadBattClock, \
  16.     , BATTCLOCK_BASE_NAME)
  17.  
  18. #define ResetBattClock() \
  19.     LP0NR(0x6, ResetBattClock, \
  20.     , BATTCLOCK_BASE_NAME)
  21.  
  22. #define WriteBattClock(time) \
  23.     LP1NR(0x12, WriteBattClock, unsigned long, time, d0, \
  24.     , BATTCLOCK_BASE_NAME)
  25.  
  26. #endif /* !_INLINE_BATTCLOCK_H */
  27.